package com.yjd.bi.growing.service;

import com.yjd.comm.base.enums.DbWREnums;
import com.yjd.comm.base.service.IBaseService;
import com.yjd.bi.growing.model.UserGrowingStatisticsModel;

import java.util.List;
import java.util.Map;

/**
 * <b>description</b>：用户成长支持统计业务接口<br>
 * <b>time</b>：2018-08-13 14:21:23 <br>
 * <b>author</b>：  weili valie.lin@foxmail.com
 */
public interface IUserGrowingStatisticsService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public UserGrowingStatisticsModel insert(UserGrowingStatisticsModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(UserGrowingStatisticsModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param user_id
	 * @return
	 * @throws Exception
	 */
	public int delete(long user_id) throws Exception;

	/**
	 * 查询满足条件的用户的手机号
	 *
	 * @param paramMap
	 * @return
	 * @throws Exception
	 */
	public List<Long> queryUseridList(Map paramMap, int page, int rows) throws Exception;

}
